<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>{dede:field name='typename'/}-{dede:global.cfg_webname/}</title>
<meta name="description" content="{dede:field name='description' function='html2text(@me)'/}" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
<meta content="yes" name="apple-mobile-web-app-capable" />
<meta content="black" name="apple-mobile-web-app-status-bar-style" />
<meta content="telephone=no" name="format-detection" />
<link rel="canonical" href="{dede:global.cfg_basehost/}{dede:type typeid='0' row=1}[field:typelink/]{/dede:type}"/>
<link href="{dede:global.mcfg_basehost/}/m-css/m-index.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="{dede:global.mcfg_basehost/}/m-js/jquery.js"></script>
<script type="text/javascript" src="{dede:global.cfg_basehost/}/system/gzs.ajax.js"></script>
<script type="text/javascript">
function CheckLogintop(){
var taget_obj = document.getElementById('_userlogin');
myajax = new DedeAjax(taget_obj,false,false,'','','');
myajax.SendGet2("/user/ajax_loginsta.php");
DedeXHTTP = null;
}
</script>
<style type="text/css">
body{background:#fff;}
.yin{display:none !important;}
.wrapper{padding-bottom:0;padding-top:0;}
.swiper-slide img{display:block;}
.swiper-slide{position:relative;}
.swiper-slide .image-box{position:absolute;width:100%;left:0;bottom:0;height:80px;background-image:-webkit-gradient(linear,left bottom,left top,from(rgba(0,0,0,.7)),to(hsla(0,0%,100%,0)));background-image:-o-linear-gradient(bottom,rgba(0,0,0,.7) 0,hsla(0,0%,100%,0) 100%);background-image: linear-gradient(0deg,rgba(0,0,0,.7),hsla(0,0%,100%,0));}
.gzs-ke-sc:before{border-color:#ddd;border-left:1px solid #ddd;bottom:0;content:"";display:block;left:0;position:absolute;top:0;width:0;-webkit-transform:scaleX(.5);-webkit-transform-origin:0 0;}

/*课程标题*/
.yxw-title-box{padding:0 15px 20px;}
.yxw-title-box h1{line-height:24px;font-size:18px;color:#333;font-weight:700;padding:15px 0 10px;}
.yxw-title-box .maidian{font-size:15px;color:#999;padding-bottom:15px;line-height:20px;}
.yxw-title-box .times{font-size:14px;color:#999;}
.yxw-title-box .times span{padding-left:10px;}
.yxw-title-box .yxw-sc{padding-bottom:20px;}
.yxw-title-box .iofx .times{float:left;font-size:12px;color:#999;display:inline-block;}

/*TAB切换*/
.aui-nav-list-box{height:50px;padding:0 15px;border-bottom:1px solid #f5f5f5;}
.aui-nav-list-box li{float:left;margin-right:20px;line-height:50px;font-size:16px;position:relative;text-align:center;}
.aui-nav-list-box a{display:block;color:#999;}
.aui-nav-list-box span{display:inline-block;height:50px;}
.aui-nav-list-box li.aui-current span{font-weight:700;font-size:16px;border-bottom:0 !important;color:#333 !important;}
.aui-nav-list-box li.aui-current a{color:#333;}
.aui-nav-list-box li.aui-current a:before{width:30px;height:3px;content:"";background:#ff700a;display:inline-block;bottom:5px;left:50%;position:absolute;border-radius:2px;margin-left:-15px;}
.aui-nav-list-box .tiwen-su{font-size:12px;padding-left:2px;color:#999;}
.aui-nav-list-box li.aui-current .tiwen-su{color:#ff700a !important;}
.aui-nav-list-item{display:none;}

/*课程目录*/
.yxw-kcml-box{padding:20px 15px 20px;}
.yxw-kcml-box .task-task-item{position:relative;padding:20px 15px;display:block;overflow:hidden;background:#f8f8f8;margin-bottom:10px;border-radius:4px;box-sizing:border-box;}
.yxw-kcml-box .task-task-item:hover{background:#f4f4f4;}
.yxw-kcml-box .yxw-list-course{overflow:hidden;}
.yxw-kcml-box .task-tt-text{color:#333;font-size:16px;line-height:24px;}
.yxw-kcml-box .task-tt-zj{color:#999;font-size:14px;overflow:hidden;}
.yxw-kcml-box .task-tt-zj span{display:block;}
.yxw-kcml-box .task-tt-zj span.tuwen,.yxw-kcml-box .task-tt-zj span.wangpan{display:none;}
.yxw-kcml-box .task-tt-zj span.task-tt-zjsj{height:18px;line-height:18px;background:url({dede:global.mcfg_basehost/}/m-images/ke-sj.png) no-repeat 0 0;background-size:16px auto;padding-left:17px;margin-right:10px;margin-top:10px;}
.yxw-kcml-box .ke-suo{width:30px;height:18px;line-height:18px;text-align:center;border-radius:0 4px 0 4px;display:inline-block;background:#eee url({dede:global.mcfg_basehost/}/m-images/yxw-kc-s.png) no-repeat center 2px;background-size:13px auto;text-indent:-9999px;margin-top:10px;}
.yxw-kcml-box .keshikan{width:30px;height:18px;line-height:18px;color:#fff;font-size:10px;background:#00b277;text-align:center;display:inline-block;border-radius:0 4px 0 4px;margin-top:10px;}

/*课程简介*/
.yxw-kc-jianjie{padding:20px 15px 20px;background-color:#fff;}
.yxw-kc-jianjie .ke-jieshao{font-size:16px;color:#333;padding-bottom:10px;}
.yxw-kc-jianjie h3{font-size:18px;color:#333;padding-bottom:10px;}
.yxw-kc-jianjie p{color:#333;font-size:16px;padding-bottom:10px;line-height:26px;text-align:justify;}
.yxw-kc-jianjie p img{margin:0 auto;display:block;width:100% !important;height:100% !important;margin-bottom:-10px;}
.yxw-kc-jianjie p a{color:#3f82fc;}

/*在线客服*/
.gzs-list-zxkf{padding:20px 15px 20px 15px;text-align:center;}
.gzs-list-zxkf p{color:#333;line-height:24px;font-size:16px;padding-bottom:15px;}
.gzs-list-zxkf p img{width:260px;display:block;margin:0 auto;}

/*常见问题*/
.gzs-list-faq{padding:20px 15px 20px 15px;}
.gzs-list-faq p{color:#333;line-height:22px;font-size:14px;padding-bottom:15px;}
.gzs-list-faq h3{color:#333;font-size:18px;font-weight:bold;background:linear-gradient(to top,rgba(255,0,15,.7) 26%,transparent 26% 100%);display:inline-block;margin-bottom:15px;}

/*课程收藏*/
.shoucang1{width:30px;height:30px;display:block;background:url({dede:global.mcfg_basehost/}/m-images/gd-shoucang.png) no-repeat;background-size:30px auto;}
.shoucang2{width:30px;height:30px;display:block;background:url({dede:global.mcfg_basehost/}/m-images/gd-shoucang2.png) no-repeat;background-size:30px auto;}
.mui-toast-container{position:fixed;z-index:9999;bottom:200px;width:100%;-webkit-transition:opacity .8s;transition:opacity .8s;opacity:0;}
.mui-toast-container.mui-active{opacity:1;}
.mui-toast-message{width:120px;margin:5px auto;padding:10px 5px;text-align:center;color:#fff;border-radius:5px;background-color:#606060;font-size:12px;}

/*课程购买*/
.list-bottom-goumai{position:fixed;width:100%;left:0;bottom:0;padding:10px 15px;box-sizing:border-box;background:#fff;box-shadow:0 -1px 10px 0 rgba(0,0,0,0.05);}
.list-bottom-goumai .kc-goumai{width:100%;float:left;text-align:center;height:44px;line-height:44px;background:#ed7e30;display:block;font-size:16px;color:#fff;border-radius:22px;}
.list-bottom-goumai .kc-goumai .kc-yuanjia{padding:0 5px;color:#dedede;font-size:14px;text-decoration:line-through;}

/*分享赚钱*/
.personal-zq{position:absolute;bottom:5px;right:0;height:30px;background:#f7115b;display:-webkit-flex;display:flex;-webkit-align-items:center;align-items:center;-webkit-flex-direction:row;flex-direction:row;border-radius:100px 0 0 100px;}
.personal-zq img{width:18px;height:18px;display:block;margin:0 4px 0 8px;}
.personal-zq p{color:#fff;font-size:12px;margin-right:8px;line-height:14px;text-align:center;}

/*限时特价*/
.specials-count-down.count-down1{display:none;}
.specials-count-down{height:50px;overflow:hidden;}
.gzs-xianshi-tejia{width:60%;float:left;background-image:linear-gradient(90deg,#FF005B 0%,#F72D42 100%);padding:0 15px;box-sizing:border-box;}
.specials-count-down .sale{font-size:36px;}
.specials-count-down .sale{color:#fff;margin-right:10px;font-weight:700;float:left;height:50px;line-height:50px;}
.gzs-ke-shijia{display:inline-block;padding-top:8px;font-size:12px;}
.gzs-ke-shijia span{display:block;line-height:18px;color:#fff;}
.gzs-ke-shijia .title{background:#C73244;border-radius:3px;color:#fff;font-size:12px;letter-spacing:1px;line-height:12px;padding:2px 2px 2px 4px;}
#time-item{text-align:center;font-size:12px;color:#8D5625;}
.specials-count-down .sale i{font-size: 12px;}
.specials-count-down .right{width:40%;height:50px;float:right;background-image:linear-gradient(-180deg,#FFF091 0%,#FDDC59 100%);}
.specials-count-down .flash-sale-text{color:#EF3055;font-size:12px;letter-spacing:1px;line-height:10px;margin-bottom:5px;padding-top:10px;text-align:center;}
.specials-count-down #t_d{letter-spacing:0;margin-right:5px;}
.specials-count-down #t_h,.specials-count-down #t_m,.specials-count-down #t_s{background:#8D5625;border-radius:4px;color:#fff;display:inline-block;height:20px;line-height:22px;padding:0 3px;}
.specials-count-down .time-mh{color:#8D5625;padding:0 3px;}
.gzs-shoujia{padding:0 15px;}
.gzs-shoujia .curr-price{color:#f30;font-weight:700;font-size:18px;display:block;padding-top:10px;}
.gzs-shoujia .curr-price small{font-size:12px;padding-right:2px;}
.gzs-shoujia .price-mf{color:#f30;font-weight:700;font-size:18px;display:block;padding-top:10px;}

/*开通SVIP会员*/
.yxw-ke-vipts{margin-top:20px;border-radius:3px;height:42px;line-height:42px;padding:0 10px;background:url({dede:global.mcfg_basehost/}/m-images/ke-vipqx-bj.png) no-repeat 50%;background-size:cover;}
.yxw-ke-vipts span{font-size:12px;font-weight:700;}
.yxw-ke-vipts .ke-vip-bs{float:left;width:20px;height:20px;display:block;background:url({dede:global.mcfg_basehost/}/m-images/ke-vip-qx.png) no-repeat;background-size:20px auto;position:relative;top:10px;margin-right:3px;}
.yxw-ke-vipts .ke-vip-kt{width:13px;height:13px;display:block;background:url({dede:global.mcfg_basehost/}/m-images/ke-vip-bj-right.png)  right no-repeat;background-size:13px auto;float:right;position:relative;top:14px;}
.yxw-ke-vipts.ke-vipts1{display:none;}

/*头部*/
.gzs-ke-top{position:relative;background-color:#fff;height:50px;line-height:50px;overflow:hidden;padding:0 15px;}
.gzs-ke-top .index{float:left;width:35px;height:35px;border-radius:50%;margin-top:7px;background:url({dede:global.mcfg_basehost/}/m-images/gzs-ke-index.png) no-repeat 5px 3px;background-size:25px auto;border:1px solid #8a8a8a;}
.gzs-ke-top .fr{font-size:14px;color:#333;}
</style>
</head>
<body>

<div class="wrapper">

<!-- 头部 -->
<div class="gzs-ke-top"><a href="{dede:global.mcfg_basehost/}/" class="m-index-logo"></a><div class="gzs-ke-box-login"><span class="search-index" id="JenIpt" style="width:25px;height:25px;background:url({dede:global.mcfg_basehost/}/m-images/gzs-ke-search.png) no-repeat;background-size:25px auto;"></span><a href="{dede:global.mcfg_basehost/}/user/" class="gzs-ke-login">个人中心</a></div></div>
<!-- 头部 End -->
<style type="text/css">
.m-index-logo{float:left;width:80px;height:40px;background:url({dede:global.mcfg_basehost/}/m-images/logo.png) no-repeat;background-size:80px 40px;margin-top:5px;}
.gzs-ke-login{font-size:14px;margin-left:15px;}
.gzs-ke-box-login{float:right;display:-webkit-flex;display:flex;-webkit-align-items:center;align-items:center;-webkit-flex-direction:row;flex-direction:row;}
</style>

<!-- 课程封面图 -->
<div class="swiper-slide">
<img src="{dede:field.bigpic function='mstrone(@me)'/}">
<!-- 分享赚佣金 -->
{dede:field.array runphp='yes'}
global $cfg_dazhe,$cfg_zhekou,$cfg_keyjbl,$mcfg_basehost;
$yuanprice = @me['price'];
if($yuanprice != 0){
if($cfg_dazhe == 'Y'){
$dazheprice = @me['price'] / 100 * $cfg_zhekou;
$yongjin = $cfg_keyjbl / 100 * $dazheprice;
}else{
$yongjin = $cfg_keyjbl / 100 * @me['price'];
}
@me = "<a href=\"{$mcfg_basehost}/user/tui.php\" class=\"personal-zq\"><img src=\"{$mcfg_basehost}/m-images/ke-fx-qian.png\"><p>赚佣金({$yongjin}元)</p></a>";
}
else{
@me = "";
}
{/dede:field.array}
<!-- 分享赚佣金 End -->
</div>
<!-- 课程封面图 End -->


<!-- 限时特价 -->
{dede:field.array runphp='yes'}
global $cfg_dazhe,$kc_miaosha,$cfg_zhekou,$cfg_dqtime,$cfg_tejiatishi;
$time = time();
$timestamp = strtotime($cfg_dqtime);
if(!empty(@me['price']))
{
if($cfg_dazhe == 'Y' && $timestamp > $time ){
@me = '<div class="specials-count-down needBuy yin"><div class="gzs-xianshi-tejia"><div class="sale"><i>¥</i>'.@me['price'] / 100 * $cfg_zhekou.'</div><div class="gzs-ke-shijia"><span class="price" style="text-decoration:line-through;">原价<i>¥</i>'.@me['price'].'</span><span class="title">'.$cfg_tejiatishi.'</span></div></div><div class="right special-price"><p class="flash-sale-text">距离结束仅剩</p><div id="time-item" class="time"><span id="t_d">00</span><span id="t_h">00</span><span class="time-mh">:</span><span id="t_m">00</span><span class="time-mh">:</span><span id="t_s">00</span></div></div></div>';}
else{@me = '<div class="needBuy yin"><div class="gzs-shoujia"><span class="curr-price"><small>¥</small>'.@me['price'].'</span></div></div>';}}
else{@me = '<div class="gzs-shoujia"><span class="price-mf">免费</span></div>';}
{/dede:field.array}
<!-- 限时特价 End -->


<!-- 课程标题 -->
<div class="yxw-title-box" style="position:relative;">
<div class="gzs-title-box" style="width:90%;">
<h1>{dede:field.typename/}</h1>
<p class="maidian">{dede:field.namegk/}</p>
<div class="times" style="line-height:20px;">共{dede:type}[field:id function='jjKeCount(@me)'/]{/dede:type}集全<span style="padding:0 5px;">•</span>{dede:field.id function="JJgetCliak(@me)"/}次学习</div>
</div>
<!-- 收藏 -->
<div class="gzs-ke-sc" style="position:absolute;right:0;top:20px;padding:0 10px 0 5px;text-align:center;"><span class="shoucang1" id="toastBtn"></span><p style="line-height:16px;font-size:10px;padding-top:2px;">收藏</p></div>
<!-- 收藏 End -->


<!-- SVIP会员购买 -->
{dede:field.array runphp='yes'}
global $dsql, $mcfg_basehost;
require_once(DEDEINC.'/memberlogin.class.php');
$cfg_ml = new MemberLogin();
$typeid = @me['typeid'];
$price = @me['price'];
$row = $dsql->GetOne("SELECT id FROM `#@__arctiny` WHERE arcrank>-1 AND typeid=$typeid ORDER BY id ASC LIMIT 1");
$arcrow = GetOneArchive($row['id']);
$row['arcurl'] = $arcrow['arcurl'];
if(!empty($price))
{
$sorow = $dsql->GetOne("SELECT * FROM `#@__shops_orders` WHERE state=1 AND userid=$cfg_ml->M_ID AND pid=$typeid");
if(($cfg_ml->M_ID && $sorow) || ($cfg_ml->M_ID && $cfg_ml->M_Rank==500))
{
$result .= " ";
}
else
{
$result = "<div class=\"yxw-ke-vipts\">";
$result .= "<a href=\"{$mcfg_basehost}/user/buyhui.php\" style=\"display:block;overflow:hidden;\">";
$result .= "<i class=\"ke-vip-bs\"></i>";
$result .= "<span style=\"float:left;color:#91715a;\">开通SVIP会员，全站课程免费学</span>";
$result .= "<span style=\"float:right;color:#fff;\">立即开通<i class=\"ke-vip-kt\"></i></span></a></div>";
}
@me = $result;
}
else
{
$result = " ";
@me = $result;
}
{/dede:field.array}
<!-- SVIP会员购买 End -->


</div>
<!-- 课程标题 End -->
<div class="ke-geli" style="background:#f8f8f8;height:10px;"></div>


<div class="aui-nav-content-box">
<div class="aui-nav-list-box">
<ul>
<li class="aui-current"><a href="javascript:;"><span>目录</span></a></li>
<li><a href="javascript:;"><span>详情</span></a></li>
<li><a href="javascript:;"><span>客服</span></a></li>
</ul>
</div>
<div class="aui-nav-list-tab">


<!-- 课程目录 -->
<div class="aui-nav-list-item" style="display:block;">
<div class="yxw-kcml-box">
{dede:list pagesize='200' orderby='id' orderway='asc'}
<a href="[field:global.mcfg_basehost/][field:arcurl/]" class="task-task-item needBuy_kelist" rank="[field:arcrank/]">
<div class="yxw-list-course"><p class="task-tt-text"><img src="[field:global.mcfg_basehost/]/m-images/ke-bs-[field:source/].png" style="position:relative;top:2px;width:25px;height:15px;display:inline-block;margin-right:5px;">[field:global.autoindex/].[field:fulltitle/]</p></div>
<div class="task-tt-zj">
[field:array runphp='yes'] 
if(@me['shorttitle']=='')
{ 
@me = '

'; 
}
else{ 
@me = '<span class="task-tt-zjsj fl">'.@me['shorttitle'].'</span>';}
[/field:array]
<span class="yxw-kc-s needBuy yin fl"><em class="ke-suo">付费</em></span>
</div>
</a>
{/dede:list}
</div>
</div>
<!-- 课程目录 Eed -->


<!-- 课程介绍 -->
<div class="aui-nav-list-item" style="display:none;">
<div class="yxw-kc-jianjie">{dede:field.content function='mstrup(@me)'/}</div>
<div class="ke-geli" style="background:#f8f8f8;height:10px;"></div>

<!-- 常见问题 -->
<div class="gzs-list-faq">
<h3>常见问题</h3>
{dede:sql sql='Select content from biz_arctype where id=4'}[field:content/]{/dede:sql}
</div>
<!-- 常见问题 End -->

</div>
<!-- 课程介绍 End -->


<!-- 在线客服 -->
<div class="aui-nav-list-item" style="display:none;">
<div class="gzs-list-zxkf">
<p>{dede:sql sql='Select litpic from biz_archives where id=53'}<img src="[field:litpic function='mstrone(@me)'/]">{/dede:sql}</p>
{dede:arclist idlist='53' channelid='1' addfields='body'}
[field:body function='cn_substr(@me,600)'/]
{/dede:arclist}
</div>
</div>
<!-- 在线客服 End -->

</div>
</div>
<!-- Tab End -->


<!-- 底部分离效果 -->
{dede:field.array runphp='yes'}
global $dsql, $mcfg_basehost;
require_once(DEDEINC.'/memberlogin.class.php');
$cfg_ml = new MemberLogin();
$typeid = @me['typeid'];
$price = @me['price'];
$row = $dsql->GetOne("SELECT id FROM `#@__arctiny` WHERE arcrank>-1 AND typeid=$typeid ORDER BY id ASC LIMIT 1");
$arcrow = GetOneArchive($row['id']);
$row['arcurl'] = $arcrow['arcurl'];
if(!empty($price))
{
$sorow = $dsql->GetOne("SELECT * FROM `#@__shops_orders` WHERE state=1 AND userid=$cfg_ml->M_ID AND pid=$typeid");
if(($cfg_ml->M_ID && $sorow) || ($cfg_ml->M_ID && $cfg_ml->M_Rank==500))
{
$result .= " ";
}
else
{
$result .= "<div class=\"list-bottom-geli\" style=\"padding-bottom:50px;overflow:hidden;width:100%;\"></div>";
}
@me = $result;
}
else
{
$result = " ";
@me = $result;
}
{/dede:field.array}
<!-- 底部分离效果 End -->



</div>
<!-- wrapper End -->


<!-- 课程购买 -->
{dede:field.array runphp='yes'}
global $dsql, $mcfg_basehost;
require_once(DEDEINC.'/memberlogin.class.php');
$cfg_ml = new MemberLogin();
$typeid = @me['typeid'];
$price = @me['price'];
$row = $dsql->GetOne("SELECT id FROM `#@__arctiny` WHERE arcrank>-1 AND typeid=$typeid ORDER BY id ASC LIMIT 1");
$arcrow = GetOneArchive($row['id']);
$row['arcurl'] = $arcrow['arcurl'];
if(!empty($price))
{
$result = "<div class=\"list-bottom-goumai\">";
$sorow = $dsql->GetOne("SELECT * FROM `#@__shops_orders` WHERE state=1 AND userid=$cfg_ml->M_ID AND pid=$typeid");
if(($cfg_ml->M_ID && $sorow) || ($cfg_ml->M_ID && $cfg_ml->M_Rank==500))
{
$result .= " ";}
else
{
$result .= "<a href=\"{$mcfg_basehost}/user/buyke.php?tid={$typeid}\" class=\"kc-goumai\">立即购买</a>";}
$result .= "</div>";
@me = $result;
}
else
{
$result = " ";
@me = $result;
}
{/dede:field.array}
<!-- 课程购买 End -->


<script src="{dede:global.mcfg_basehost/}/m-js/mui.min.js"></script>
<script type="text/javascript" charset="utf-8">
mui.init({
swipeBack: true
});
document.getElementById("toastBtn").addEventListener('tap', function() {
});
</script>

<script>
//获取会员权限
function GetMemRank(){
	$.post("{dede:global.mcfg_basehost/}/user/jjajax.php",{a:"GetRank",tid:"{dede:field.typeid/}"},function(result){

 		if(result == 'ok'){
			$(".vipxian").removeClass("yin");
			$(".aui-nav-list-boxa ul li").eq(1).click();
		}else{			
			if('{dede:field.namegk/}' != ''){
				$(".list-shikan").show();
			}		
			$(".needBuy").removeClass("yin");
			$(".needBuy_kelist").each(function(index, element) {
                if($(element).attr("rank") == '0' ){
					$(element).find(".needBuy").removeClass("yxw-kc-s");
					$(element).find(".needBuy").html('<em class="keshikan">免费</em>');	
				 
					if(result == 'notlogin'){
						$(element).attr("href","{dede:global.mcfg_basehost/}/user/");
					}
					 
				}else{
					$(element).attr("href","javascript:;");
				}
            });			 						
		} 
	});	
 
}
GetMemRank();

function GetTypeStow(){
	$.post("{dede:global.mcfg_basehost/}/user/jjajax.php",{a:"GetTypeStow",tid:"{dede:field.typeid/}"},function(result){
 		if(result == 'ok'){
			$("#toastBtn").html('');	
			$("#toastBtn").addClass("shoucang2");
		}else{
			$("#toastBtn").html('');
		}
	});	
}
$("#toastBtn").click(function(){
	$.post("{dede:global.mcfg_basehost/}/user/jjajax.php",{a:"typestow",tid:"{dede:field.typeid/}"},function(result){
			if(result == 'notlogin'){
			window.location.href = "{dede:global.mcfg_basehost/}/user/";
			}else if(result == 'ok'){
				$("#toastBtn").html('');
				$("#toastBtn").removeClass("shoucang1");
				$("#toastBtn").addClass("shoucang2");
				mui.toast('可在"我的收藏"查看');
			}else{
				$("#toastBtn").html('');
				$("#toastBtn").addClass("shoucang1");
				$("#toastBtn").removeClass("shoucang2");	
				mui.toast('您已取消收藏');
			}
	});	

})
GetTypeStow();
</script>

{dede:include filename="kc_search_m.htm"/}
{dede:include filename="wz-tongji.htm"/}

<!-- tab切换 -->
<script type="text/javascript"> 
$(function(){
$('.aui-nav-list-box ul li').click(function(){
$(this).addClass('aui-current').siblings().removeClass('aui-current');
$('.aui-nav-list-tab>div:eq('+$(this).index()+')').show().siblings().hide();
})
});
</script>


<!-- 倒计时特效 -->
<script type="text/javascript">
function GetRTime() {
var EndTime = new Date('{dede:global.cfg_dqtime/}');
var NowTime = new Date();
var t = EndTime.getTime() - NowTime.getTime();
var d = Math.floor(t / 1000 / 60 / 60 / 24);
var h = Math.floor(t / 1000 / 60 / 60 % 24);
var m = Math.floor(t / 1000 / 60 % 60);
var s = Math.floor(t / 1000 % 60);
// 将时、分、秒转换为两位数
h = ("0" + h).slice(-2);
m = ("0" + m).slice(-2);
s = ("0" + s).slice(-2);
document.getElementById("t_d").innerHTML = d + "<em>天</em>";
document.getElementById("t_h").innerHTML = h + "<em></em>";
document.getElementById("t_m").innerHTML = m + "<em></em>";
document.getElementById("t_s").innerHTML = s + "<em></em>";
}
setInterval(GetRTime, 0);
</script>
<!-- 倒计时特效 End -->


</body>
</html>